package com.sample.base

import android.app.Application
import android.content.Context

/**
 *  @Author Created by Z on 2020/4/14 星期二 17:32
 *  @Desc :
 */
open class BaseApplication : Application() {

  override fun attachBaseContext(base: Context?) {
    super.attachBaseContext(base)
    context = this
  }

  companion object {
    lateinit var context: Context
  }
}